home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
MATHEMAT
/
2632.ZIP
/
MERCURYZ.EXE
/
SERIES.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
251b
|
9 lines
; Demo of infinite series.
; Approximate sum using a large finite number of terms.
approx_sum = SUM(1/(n*n),n,1,8000)
; Mercury has special logic for an infinite sum, so just do it.
infinite_sum = SUM(1/(n*n),n,1,INF)
true_limit = PI^2 / 6